package cn.test.abstractfactory.factory;

import cn.test.abstractfactory.product.Human;
import cn.test.abstractfactory.product.MaleYellowHuman;

/**
 * @author zengfh
 * @ClassName MaleFactory
 * @Description
 * @date: 2017/10/12 19:51
 */
//生产男性的八卦炉
public class MaleFactory implements HumanFactory {
    @Override
    public Human createYellowHuman() {
        return new MaleYellowHuman();
    }
    @Override
    public Human createBlackHuman() {
        return new MaleYellowHuman();
    }
    @Override
    public Human createWhiteHuman() {
        return new MaleYellowHuman();
    }
}
